<?php
/**
* We need the core first
*/

include_once '../private/config/core.inc.php'; 

/**
* Create the instance of the calentar
*/
$cal = new Calendar($dbo);

/**
* Include propper files and settings
*/

$page_title = "Calendar AppTest: Login";
$js_files = array('jquery.min.js','jquery.cluetip.min.js','main.js');

/**
* Header
*/
include_once 'inc/header.inc.php';
?>
	<div class="main-wrap">
		<h1 class="hideit">Calendar example</h1>
		<div class="con-calendar">
			<div class="mod-userinfo">
				<span>Username</span>
				<form class="mod-search contSearch alignRight" action="calendar.php" id="form1" method="post">
					<div class="rounded eventSearch sSmall">
						<label class="searchText" for="searchText">Search</label>
						<input class="search" id="searchText" type="text" value="Search" />
						<div class="resetSearch"></div>
					</div>
					<input class="searchButtonCal" value="Search" type="button" id="search" name="tos" />
				</form>
			</div>
			<div class="mod-calendar rounded">
				<!-- calendar title starts -->
				<?php echo $cal->setTitle(); ?>
				<!-- calendar title ends -->
				<!-- table calendar starts -->
				<?php echo $cal->show(); ?>
				<!-- table calendar ends -->
				<div class="cleaner"></div>
			</div>
		</div> 		

	</div>
<?php
/**
* Footer
*/
include_once 'inc/footer.inc.php';

?>